home *** CD-ROM | disk | FTP | other *** search
-
-
-
- nnnnddddssssdddd((((1111)))) nnnnddddssssdddd((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- ndsd - network dual-head software daemon
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- nnnnddddssssdddd [ -bg ] [ -master <_m_a_s_t_e_r-_m_a_c_h_i_n_e-_n_a_m_e:0.0> ] [ -slave <_s_l_a_v_e-
- _m_a_c_h_i_n_e-_n_a_m_e:0.0> ] [ -slaveright ] [ -masterleft ] [ -usekeysym ]
- [ -wait ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The Networked Dual-head Software Daemon, _n_d_s_d, enables a machine with
- ndsd software, the "slave" machine, to accept keyboard and mouse input
- from another machine on the network (the "master" machine). Conversely,
- a "master" machine with ndsd software can also be used to control
- applications on a remote "slave" machine.
-
- Various configuration options can be specified by command line options or
- in the _n_d_s_d configuration file /_u_s_r/_n_d_s/_d_h__c_o_n_f_i_g. Commands in the
- configuration file will override any command line options.
-
- The _n_d_s_d command has the following options:
-
- ----bbbbgggg Tells _n_d_s_d to fork itself and run in the background. _n_d_s_d will
- not fork until it has successfully connected to the slave
- display, so scripts can use this option in situations that
- require _n_d_s_d to be running before continuing (such as login
- sessions).
-
- ----mmmmaaaasssstttteeeerrrr _m_a_s_t_e_r-_m_a_c_h_i_n_e-_n_a_m_e:0.0
- Tells _n_d_s_d which machine on the network it should accept mouse
- and keyboard commands from. If no "master" machine is specified,
- the value of the DISPLAY environment variable is used.
-
- ----mmmmaaaasssstttteeeerrrrlllleeeefffftttt
- The same effect as ----ssssllllaaaavvvveeeerrrriiiigggghhhhtttt. By default, the "slave" machine
- screen is assumed to be to the left of the "master" machine
- screen. If this option is set, dragging the mouse off of the
- left-had side of the "master" machine monitor will cause the
- cursor to apperar on the right-most edge of the "slave" machine
- screen.
-
- ----ssssllllaaaavvvveeee _s_l_a_v_e-_m_a_c_h_i_n_e-_n_a_m_e:0.0
- Tells _n_d_s_d which machine on the network should passively accept
- mouse and keyboard control from the "master". The specified
- screen and display must support the "XTEST" X server extension.
- If no "slave" machine is specified, ":0.0" (the first local
- display) is used. If a null string is specified for the slave
- display, the value of the DISPLAY environment variable is used.
-
- ----ssssllllaaaavvvveeeerrrriiiigggghhhhtttt
- Indicates that the monitors of the two machines are positioned
- such that the "slave" machine monitor, the machine running the
- _n_d_s_d, is to right of the "master" machine monitor. Dragging the
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- nnnnddddssssdddd((((1111)))) nnnnddddssssdddd((((1111))))
-
-
-
- mouse off of the right-hand side of the "master" machine monitor
- will cause the cursor to appear on the left-most edge of the
- "slave" machine screen.
-
- ----uuuusssseeeekkkkeeeeyyyyssssyyyymmmm
- If this option is specified, keycodes from the master machine
- will be translated by the X server prior to being fed to the
- slave machine server. This option is necessary when the two
- machines have different keycodes. Indigo2, Indy, O2, OCTANE and
- Oynx2 machines use PC compatible keyboards, different from
- previous SGI machines which used a SGI proprietary keyboard.
- This option should be used if an machine with a PC keyboard is to
- a machine with an SGI keyboard. This option may also allow the
- master machine to be a non-SGI machine. There is a slight
- performance hit for using this option, so use it only if you need
- to.
-
- ----wwwwaaaaiiiitttt This option causes the nds daemon to wait until a window exists
- on the slave display before creating any windows or processing
- input. It may be needed when nds is started from the
- /_u_s_r/_l_i_b/_X_1_1/_x_d_m/_X_l_o_g_i_n file (see below) and used with the
- standard _x_d_m(_1) login window. It is not needed for the _c_l_o_g_i_n(_1)
- login window, which is the default on SGI systems. The _x_d_m
- window may be used if _c_l_o_g_i_n is not installed or if the _c_h_k_c_o_n_f_i_g
- option _v_i_s_u_a_l_l_o_g_i_n is off.
-
- ----ddddeeeebbbbuuuugggg The debug option will run the nds daemon in the foreground and
- print out diagnostic info, helpful if problems arise.
-
- All options may be placed in the file /_u_s_r/_n_d_s/_d_h__c_o_n_f_i_g, each item on a
- separate line. The header in this file shows the format of the file.
-
- SSSSEEEETTTTUUUUPPPP
- _n_d_s_d is installed disabled by default. To enable it, provide a display
- specification for the "master" machine in the /_u_s_r/_n_d_s/_d_h__c_o_n_f_i_g file and
- issue the command:
-
- chkconfig nds on
-
- Perform these operations on the "slave" machine. You should not enable
- _n_d_s_d on the "master" machine.
-
- If a user wishes simply to have one keyboard on a desk to control two
- systems, this can be accomplished by adding the following line to the
- /_u_s_r/_l_i_b/_X_1_1/_x_d_m/_X_l_o_g_i_n file on the "slave" machine:
-
- /etc/init.d/nds start silent
-
- This will start _n_d_s_d whenever the server puts up the login screen,
- allowing remote cursor and keyboard control upon successful login to the
- "master" machine. This command can be issued at any time to start up
- _n_d_s_d as a background daemon process. It uses the "-bg" option to ensure
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- nnnnddddssssdddd((((1111)))) nnnnddddssssdddd((((1111))))
-
-
-
- that _n_d_s_d is up and connected to the slave display when it returns.
-
- If you run into problems, issue the command:
-
- /usr/nds/ndsd -debug
-
- This will cause _n_d_s_d to be run in the foreground and issue diagnostic
- messages as to what it is doing.
-
- To disable _n_d_s, issue the command:
-
- chkconfig nds off
-
- to prevent the _n_d_s daemon from starting up again. To stop the currently
- running _n_d_s daemon, at the unix prompt type:
-
- /etc/init.d/nds stop
-
- and it will not restart until the _c_h_k_c_o_n_f_i_g flag is reset to _o_n.
-
- If the user wishes to have the machine more closely resemble a hardware
- dual-head machine, running the _s_l_a_v_e__i_n_s_t_a_l_l script will configure the
- machine to do so:
-
- su
- cd /usr/nds/slave
- slave_install install
-
- This will set up the machine so that none of the usual window
- decorations, such as the _4_D_w_m _t_o_l_l_b_o_x, appear. To undo these changes,
- de-install the slave software by:
-
- su
- cd /usr/nds/slave
- slave_install remove
-
- This will restore the machine to its default behavior. Once you run the
- _s_l_a_v_e__i_n_s_t_a_l_l script, you won't be able to use the normal window manager
- functions, so don't run it unless you are sure you want to do so.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- The _n_d_s_d daemon allows for mouse and keyboard interaction between the two
- displays, but provides no additional X server functionality. Application
- software that wishes to take advantage of a second display should take
- into account that each machine is running it's own X server and allocate
- resources appropriately.
-
- Mouse and keyboard information is transferred between the _n_d_s_d daemon and
- the "master" machine over the network connecting the two machines.
- Unusally heavy network traffic can affect performance. A dedicated
- network between the two machines will give maximum performance, though
- most networks have sufficient bandwidth for good performance. The
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- nnnnddddssssdddd((((1111)))) nnnnddddssssdddd((((1111))))
-
-
-
- "slave" and "master" machine should be on the same subnet, connections
- through gateways between subnets can negatively impact performance,
- though _n_d_s_d will work as long as the "slave" and "master" machines can
- communicate.
-
- Applications that use _X_W_a_r_p_P_o_i_n_t_e_r(_3_X_1_1) to move the cursor between the
- two displays may not function correctly. The _n_d_s_d maintains cursor
- positions internally, _X_W_a_r_p_P_o_i_n_t_e_r() calls will not update any _n_d_s_d state
- information. Good X programming leaves pointer movement up to the user,
- so applications should not generally call _X_W_a_r_p_P_o_i_n_t_e_r().
-
- The _n_d_s_d daemon controls cursor movement between the two displays by
- monitoring the pixels at the edge of the two screens. Applications which
- need single pixel accuracy at the edge of the screen may have problems
- when running _n_d_s_d as _n_d_s_d may jump the cursor to the other display when
- the user does not wish this to happen.
-
- FFFFIIIILLLLEEEESSSS
- /_u_s_r/_n_d_s/_d_h__c_o_n_f_i_g the ndsd configuration file
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- chkconfig(1M), X(1), Xsgi(1), XWarpPointer(3X11), xdm(1), clogin(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-